﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<IEnumerable<Rose.Models.ArticleAbstractModel>>" %>

<asp:Content ID="Content2" ContentPlaceHolderID="MiddleContent" runat="server">

     <fieldset><legend>文章列表</legend>
    
    <%foreach (var item in Model)
      { %>
      <p><%=item.CreateTime %></p>
      <p>点击量:<%=item.Hit %></p>
      <p>分享量:<%=item.ShareCount %></p>
      <p>评论数:<%=item.CommentCount %></p>
     <p><%=item.Title %></p>
          <p><%=item.Content %></p>
         <p><a href="<%=Url.Action("FriendAritcle","FriendTrend",new{articleId=item.Id}) %>">查看更多</a></p>
    <%} %>

    </fieldset>

</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="ScriptContent" runat="server">
</asp:Content>

